/*
package com.changgou.goods.handler;

import com.changgou.entity.Result;
import com.changgou.entity.StatusCode;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;

@ControllerAdvice
public class BaseExceptionHandler extends RuntimeException{

	@ExceptionHandler(value=Exception.class)
	@ResponseBody
	public Result error(Exception e){
		e.printStackTrace();
		return new Result(false,StatusCode.ERROR,"当前系统繁忙，请您稍后重试");
	}
}
*/
